package com.gym.pojo.user;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

// SpringMVC将对象json返回时自动忽略掉对象中的特定属性的注解方式
@JsonIgnoreProperties(value = { "userPassword" })
public class UserBaseInfo {
	private Long userId;

	private String userName;

	private String userPassword;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword == null ? null : userPassword.trim();
	}
}